package com.example.evanproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.evanproject.domain.Coursemodule;
import com.example.evanproject.service.CoursemoduleService;
import com.example.evanproject.mapper.CoursemoduleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author hanxiaoqi
* @description 针对表【coursemodule】的数据库操作Service实现
* @createDate 2024-03-09 21:52:12
*/
@Service
public class CoursemoduleServiceImpl extends ServiceImpl<CoursemoduleMapper, Coursemodule>
    implements CoursemoduleService{

    @Autowired
    private CoursemoduleMapper courseModuleMapper;
    public Integer addcourseModule(Coursemodule courseModule) {
        courseModuleMapper.addcourseModule(courseModule);
        return courseModule.getMoId();
    }

}




